package com.manlost.biz.tag.model.constants;

/**
 * 类TagInfoStatus.java的实现描述：TODO 类实现描述
 * 
 * @author xiaochuan.luxc 2012-4-3 下午3:04:10
 */
public enum TagInfoStatus {
    ENABLE("enable"), DISABLE("disable");

    private final String value;

    public String getValue() {
        return value;
    }

    private TagInfoStatus(String value) {
        this.value = value;
    }

    public static TagInfoStatus getEnum(String value) {
        for (TagInfoStatus status : values()) {
            if (status.getValue().equals(value)) {
                return status;
            }
        }
        return null;
    }

}
